Post-pass optimization